<script>

import FinishedProductFinalInspectionList from './FinishedProductFinalInspectionList.vue'

export default {
  name: 'FinishedProductFinalInspection',
  components: { FinishedProductFinalInspectionList },
  data() {
    return {
      activeKey: 'notGenerated'
    }
  },
  methods: {
    handleChangeTab() {
    }
  }
}
</script>

<template>
  <a-card :bordered="false" class="finished-product-inspection-container">
    <!-- 未生成  已审批 -->
    <a-tabs v-model="activeKey" @change="handleChangeTab">
      <a-tab-pane key="notGenerated" tab="未生成">
        <finished-product-final-inspection-list v-if="activeKey === 'notGenerated'" />
      </a-tab-pane>
      <a-tab-pane key="approved" tab="已审批">
        <finished-product-final-inspection-list v-if="activeKey === 'approved'" status="1" />
      </a-tab-pane>
    </a-tabs>
  </a-card>
</template>

<style scoped>

</style>